package com.tedu;

public  class Test2 {
    String name="晨";
    public  void eat(){
        System.out.println("chi");
        new A().he();
    }
    /*static*/ class A{
        int age=21;
        public void he(){
            System.out.println("喝");
            //eat();
        }
    }
}

class ceshi{
    public static void main(String[] args) {
        new Test2().new A().he();
        //new Test2.A().he();
    }
}